package com.eddie.controller;

import com.eddie.stack.Calculator;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {



    @GetMapping("/calculator")
    public int calculator(String expression) {
        Calculator calculator = new Calculator();
        return calculator.extracted(expression);
    }

}
